import {GETMILLPORTCONFIGLIST, ADDMILLPORTCONFIG, DELMILLPORTCONFIG} from '@/services/api'
import {request, METHOD} from '@/utils/request'

export async function getMillPortConfigList(params) {
  return request(GETMILLPORTCONFIGLIST, METHOD.POST, params)
}

export async function addMillPortConfig(params) {
  return request(ADDMILLPORTCONFIG, METHOD.POST, params)
}

export async function delMillPortConfig(params) {
  return request(DELMILLPORTCONFIG, METHOD.POST, params)
}

export default {
  getMillPortConfigList,
  addMillPortConfig,
  delMillPortConfig
}